#include<stdio.h>
int main()
{
	int i,n,sum;
	scanf("%d",&n);
	i=2;
	sum=1;
	while(i<=n)
	{
		sum=sum*i;
		i+=2;
	}
	printf("%d",sum);
	return 0;
}
